package com.train.mgr.modules.system.dto.response;

import com.fasterxml.jackson.annotation.JsonIgnore;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * 组织信息架构对象
 */
@Data
public class PostTreeNode implements Serializable
{
    private static final long serialVersionUID = 1L;

    /** 节点ID */
    @ApiModelProperty(name = "id", value = "名称（岗位ID  / 员工用户ID）")
    private Long id;

    /** 节点名称 */
    @ApiModelProperty(name = "name", value = "名称（岗位名称 / 员工名称）")
    private String name;

    @ApiModelProperty(name = "type", value = "类型（1-岗位，2-员工）")
    private String type;

    @ApiModelProperty(name = "finishStatus", value = "完成情况（0：未完成，1：已完成）")
    private Integer finishStatus;

    private List<PostTreeNode> children;


}
